﻿<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>
<div id="playercontainer"></div>
<script type="text/javascript" src="cyberplayer.js"></script>
<script type="text/javascript">
    var player = cyberplayer("playercontainer").setup({
        width: 680,
        height: 448,
        autostart: true,
        stretching: "uniform",
        volume: 100,
        controls: true,
        file: "http://gcqq450f71eywn6bv7u.exp.bcevod.com/mda-hbqagik5sfq1jsai/mda-hbqagik5sfq1jsai.mp4", // 播放地址
        ak: "xxxxxxxxxxxxxxxx" // 公有云平台注册即可获得accessKey
    });
    player.onReady(function () {
    // 动态设置打点及缩略图
        player.setCues([
            {begin: 6, end: 10.5, text: '<a onlick="alert(1)">haha</a>'},
            {begin: 19.5, end: 20.5, text: "我的信息2"}
        ]);
        player.setThumbnails([
            {begin: 6, end: 10.5, text: "http://gcqq450f71eywn6bv7u.exp.bcevod.com/mda-hbqagik5sfq1jsai/mda-hbqagik5sfq1jsai.jpg@w_200,h_200"},
            {begin: 19.5, end: 20.5, text: "http://gcqq450f71eywn6bv7u.exp.bcevod.com/mda-hbqagik5sfq1jsai/mda-hbqagik5sfq1jsai.jpg@w_200,h_200"}
        ]);
    })
</script>
</body>
</html>